<template>
  <div class="box">
    <div class="header">
      <span class="iconfont icon-fanhui" @click="back()"></span>
      <div class="title">消息</div>
    </div>
    <div class="main">
      <div class="con">
        <div>
          <p style='color:#666666'>您好，你发布的二手房出售已经审核通过</p>
          <span style="color: #00f">点击查看</span>
        </div>
        <p>上午7：00</p>
      </div>
    </div>
  </div>
</template>

<script>
import "../../static/iconfont/font_g5b9ldx0nvj/iconfont.css";
export default {
  methods: {
    back() {
      uni.navigateBack();
    },
  },
};
</script>

<style lang='scss'>
.box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  .header {
    width: 100%;
    height: 200rpx;
    background: linear-gradient(90deg, #0272f0, #36a2fe);
    display: flex;
    align-items: center;
    position: relative;
    top:0;
    position:sticky;
    span {
      position: absolute;
      left: 40rpx;
      top: 50%;
      transform: translate(0, -50%);
      color: #fff;
    }
    .title {
      width: 100%;
      text-align: center;
      color: #fff;
    }
  }
  .main {
    width: 100%;
    height: 113rpx;
    background: #eee;
    .con {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: #fff;
        >div{
            p,span{
                font-size: 30rpx;
            }
            span{
                display: inline-block;
                margin-top: 20rpx;
            }
        }
       p {
            font-size: 30rpx;
        }
    }
  }
}
</style>